package com.ss.android.article.browser.view.user;

import android.support.annotation.NonNull;
import com.a.a.NightMode;
import com.a.a.u;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

final class h implements NightMode {
    private final e a;

    h(e arg1) {
        this.a = arg1;

    }

    public final void f(@NonNull Object arg5) {
        ArrayList v0 = e.b(this.a).f();
        ArrayList v1 = new ArrayList();
        List v2 = e.a(this.a).a;
        Iterator<Integer> v3 = v0.iterator();
        while(v3.hasNext()) {
            int v0_1 = v3.next().intValue();
            try {
                v1.add(v2.get(v0_1));
            }
            catch(Exception v0_2) {
                v0_2.printStackTrace();
            }
        }

        e.a(v1);
        ((u)arg5).onComplete();
    }
}

